<?php
namespace Admin\Controller;

// 本类由系统自动生成，仅供测试用途
class CommonController extends \Common\Controller\BaseController{

	function _initialize() {
		parent::_initialize();
		$this->assign('webtitle',C('web_title'));
		import('ORG.Net.UploadFile');
		import("ORG.Util.Category");
		$Articlecat=M('Article_cat');
		$leftlist=$Articlecat->limit(4)->order('acid desc')->select();
		$this->assign('leftlist',$leftlist);
		$Pages=M('Pages');
		$pageslist=$Pages->limit(4)->order('pagid desc')->select();
		$this->assign('pageslist',$pageslist);
	}
}